package com.wanfeng.oa.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.wanfeng.model.system.SysMenu;
import com.wanfeng.vo.system.AssginMenuVo;
import com.wanfeng.vo.system.RouterVo;

import java.util.List;


/**
 * @author wanfeng
 * @since 2023-11-23
 */
public interface SysMenuService extends IService<SysMenu> {

    List<SysMenu> findNodes();

    void removeMenu(Long id);

    List<SysMenu> findSysMenuByRoleId(Long roleId);

    void doAssign(AssginMenuVo assignMenuVo);

    List<RouterVo> getRoutersByUserId(Long userId);

    List<String> getButtonPerms(Long userId);
}
